﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NextInventory.Data;
using NextInventory.Model.Category;

namespace NextInventory.Business.EntityRepositories
{
    public interface ICategoryRepository : IBaseRepository
    {

        #region Category

        ProductCategoryModel GetCategoryByID(int Id);
        List<ProductCategoryModel> GetCategory();
        List<ProductCategoryModel> GetCategoryByModelID(int Id);

        bool AddCategory(ProductCategoryModel model);
        bool UpdateCategory(ProductCategoryModel model);
        bool DeleteCategory(int Id);

        #endregion Category

    }

    public class CategoryRepository : BaseRepository, ICategoryRepository
    {

        #region Category

        public ProductCategoryModel GetCategoryByID(int Id)
        {
            throw new NotImplementedException();
        }

        public List<ProductCategoryModel> GetCategory()
        {
            throw new NotImplementedException();
        }

        public List<ProductCategoryModel> GetCategoryByModelID(int Id)
        {
            throw new NotImplementedException();
        }

        public bool AddCategory(ProductCategoryModel model)
        {
            throw new NotImplementedException();
        }

        public bool UpdateCategory(ProductCategoryModel model)
        {
            throw new NotImplementedException();
        }

        public bool DeleteCategory(int Id)
        {
            throw new NotImplementedException();
        }

        #endregion Category
    }
}
